﻿CREATE PROCEDURE [dbo].[ClearData] AS

declare @date datetime

set @date = DateAdd(hh, -1, getDate())

Delete WebStateData
Where CreatedDateTime < @date

Delete WapStateData
Where CreatedDateTime < @date


